package com.cxy.api;


import com.cxy.my.mapper.MyMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

//项目接口地址 https://www.imovietrailer.com/superhero/doc.html
@SpringBootApplication
//扫描mybatis mapper 包路径
@MapperScan(basePackages={"com.cxy.mapper"},markerInterface = MyMapper.class)
//组件扫描
@ComponentScan(basePackages={"com.cxy"})
public class Application {
    public static void main(String[]args){
        SpringApplication.run(Application.class,args);
    }
}
